Technical troubleshooting - backend issues.
etc/module.xml
file in your Magento installation:
You can also check for updates from Algolia’s dashboard. Find the API clients using your indices by going to Monitoring > Operations > API Client. If a new version is available, it will be displayed next to the version in use.
save
event and send any data that requires updating to Algolia’s servers. This also works if the indexing queue is turned off.
algoliaLastUpdateAtCET
attribute. This attribute contains the date and time the records were updated (Central European Time).
/1/indexes/[INDEX_NAME]/batch
. By clicking the link, the request details will show up. The extension successfully sent the record to Algolia’s servers if you can see the attributes in the Request body tab (under the AddObject action).
algoliaLastUpdateAtCET
attribute in the index’s object isn’t updated, use the SKU reindexing form. This form gives you feedback on why the product hasn’t updated.
Magento\Catalog\Model\ResourceModel\Product
Magento\Catalog\Model\Product\Action
Magento\CatalogInventory\Model\ResourceModel\Stock\Item
Magento\Catalog\Model\ResourceModel\Category
Magento\Catalog\Model\Category\Action
save
events on the preceding classes will break the real-time updating of the catalog. To fix this, you must manually trigger reindexing.
_tmp
.
For example, if the main product index is magento_products_default
, the extension will generate an index named magento_products_default_tmp
.
_tmp
suffix and haven’t been updated in a while.
All errors are logged by default in Magento. The var/log
folder in the Magento installation contains two log files:
system.log
exception.log
algolia_queue_runner
.
Ensure the Magento indexer is “ready” by running the following in the command line:
algolia:replicas:disable-virtual-replicas
and rerun setup:upgrade
.
replicas
setting for the corresponding product index for each Algolia-enabled store view in Magento.
Typically, the replica indices that are created are a one-to-one relationship with the sorting strategies defined in your store’s Admin:
But if customer groups are enabled for the store, the number of indices required for the pricing sorts is multiplied by the number of customer groups in Magento.
It is also important to understand that other processes (such as those used by the Merchandising Studio and the Algolia Dashboard) may create replicas in addition to the ones that the Magento extension creates.
To avoid the extension overwriting other Algolia indices, don’t give them a prefix that might be mistaken as being managed by Magento.
Here’s example of how various replica configurations might look (the Magento-managed indices are distinguished by the prefix magento2_dev_
.)
In the preceding example (which is purely for illustrative purposes), the Magento managed indices are distinguished by the prefix magento2_dev_
.